package com.work.app.bean;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;
import javax.validation.constraints.NotNull;

import java.io.Serializable;

import java.util.Date;
import io.swagger.annotations.ApiModelProperty;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import lombok.Data;

/**
 * 创作者-藏品
 * @Date 2024-05-15 21:09:05
 * @author hjj
 */
@Data
@TableName("creator_collection")
@ApiModel(value="CreatorCollection对象", description="创作者-藏品")
public class CreatorCollection implements Serializable {

    @NotNull(message="[]不能为空")
    @ApiModelProperty("")
    private Integer id;

    @Size(max= 40,message="编码长度不能超过40")
    @ApiModelProperty("创作者地址")
    private String userAddress;

    @Size(max= 64,message="编码长度不能超过64")
    @ApiModelProperty("藏品哈希")
    private String collectionHash;

    @ApiModelProperty("上传平台时间")
    private Date createTime;

}
